home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 36
/
Amiga Format CD36 (1999-01-22)(Future Publishing)(GB)[!][issue 1999-02].iso
/
-seriously_amiga-
/
-commercial-
/
golded5_demo
/
uninstall
< prev
next >
Wrap
Text File
|
1998-11-30
|
7KB
|
231 lines
; $VER: GoldED Studio Uninstall 5.0.0 (13.07.98)
(delopts "oknodelete" "force" "askuser")
; -------------------------------- set strings ---------------------------------
(if (= @language "deutsch")
(
(set #studio_notfound "Es wurde keine vorhandene Installation gefunden !")
(set #studio_uninstall
(cat
"Dieses Programm entfernt GoldED Studio 5 von ihrem \n"
"Computer ! \n"
" \n"
"Verwenden Sie dieses Programm nur, wenn Studio 5 \n"
"komplett gelöscht werden soll. Einzelne Komponenten \n"
"können mit dem normalen Setup-Programm entfernt \n"
"werden. \n"
" \n"
"Wir empfehlen die Verwendung diese Programms nur \n"
"direkt nach einem Neustart. Es sollten vorher keine \n"
"anderen Programme gestartet worden sein. \n"
)
)
(set #studio_uninstall_help
(cat
"Das Studio-Verzeichnis und alle Unterverzeichnisse \n"
"werden entfernt, wenn Sie fortfahren ! \n"
)
)
(set #studio_uninstall_uninstall "Fortfahren")
(set #studio_uninstall_cancel "Abbrechen")
(set #studio_confirm
(cat
"Gefundene Installation: \n"
" \n"
)
)
(set #studio_confirm_uninstall "Entfernen")
(set #studio_confirm_cancel "Abbrechen")
(set #studio_uninstalling "GoldED Studio wird entfernt ...")
(set #studio_error
(cat
"Deinstallation abgeschlossen. \n"
" \n"
"Es konnten nicht alle Komponenten entfernt werden. \n"
"Beenden Sie alle Programme, starten Sie den Rechner \n"
"neu und löschen Sie die verbleibenden Dateien. \n"
)
)
)
; english strings
(
(set #studio_notfound "Es wurde keine vorhandene Installation gefunden !")
(set #studio_uninstall
(cat
"This program removes GoldED Studio 5 from your \n"
"computer ! \n"
" \n"
"Use this program to have Studio 5 completely removed\n"
"from your computer. Use the normal setup program to \n"
"remove specific components. \n"
" \n"
"We recommend to use this program directly after a \n"
"reboot only. No other programs should have been \n"
"started before uninstallation. \n"
)
)
(set #studio_uninstall_help
(cat
"The Studio directory and all subdirectories are \n"
"deleted if you proceed ! \n"
)
)
(set #studio_uninstall_uninstall "Proceed")
(set #studio_uninstall_cancel "Cancel")
(set #studio_confirm
(cat
"Installation detected: \n"
" \n"
)
)
(set #studio_confirm_cancel "Cancel")
(set #studio_confirm_uninstall "Delete")
(set #studio_uninstalling "Uninstalling ...")
(set #studio_error
(cat
"Uninstallation completed. \n"
" \n"
"Some files could not be removed. Terminate all \n"
"programs, reboot your computer and delete the \n"
"remaining files manually. \n"
)
)
)
)
; ---------------------------------- uninstall ---------------------------------
(if (exists "golded:" (noreq))
(
(set uninstallpath (expandpath "golded:"))
(set continue
(askbool
(prompt #studio_uninstall)
(help #studio_uninstall_help)
(choices
#studio_uninstall_uninstall
#studio_uninstall_cancel
)
(default 0)
)
)
(if (= continue 1)
(
(set continue
(askbool
(prompt (cat #studio_confirm uninstallpath))
(help #studio_uninstall_help)
(choices
#studio_confirm_uninstall
#studio_confirm_cancel
)
(default 0)
)
)
(if (= continue 1)
(
(working #studio_uninstalling)
(run "run <>NIL: installdata/programs/stopgolded")
; delete drawer symbol
(delete
(tackon uninstallpath ".info")
)
; clean up startup sequence
(run "installdata/programs/stripstartup >NIL: LINES=6 SECTIONNAME=JOYCE")
(run "installdata/programs/stripstartup >NIL: LINES=6 SECTIONNAME=HiSpeed")
(run "installdata/programs/stripstartup >NIL: LINES=6 SECTIONNAME=GED_quick")
(run "installdata/programs/stripstartup >NIL: LINES=6 SECTIONNAME=GoldED")
; get rid of active assigns pointing to golded directory
(run ("installdata/programs/remassigns >NIL: BASEDIR \"%s\"" uninstallpath))
; delete root directory
(run ("installdata/programs/remdir >NIL: BASEDIR \"%s\"" uninstallpath))
(if (exists uninstallpath (noreq))
(message #studio_error)
)
)
)
)
)
)
(message #studio_notfound)
)
(exit (quiet))
(welcome)